package com.jichangxiu.server.platform.entity.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * PlatformLogQueryDto:
 *
 * @author Jcx
 * @create 2023-03-26 13:39
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "日志实体")
public class PlatformLogQueryDto {

    @Schema(description = "日志ID")
    private String logId;

    @Schema(description = "日志编号")
    private String logNo;

    @Schema(description = "业务类型")
    private String serviceType;

    @Schema(description = "操作类型")
    private String operatorType;

    @Schema(description = "请求方式")
    private String httpMethod;

    @Schema(description = "请求模块")
    private String model;

    @Schema(description = "请求方法")
    private String method;

    @Schema(description = "请求地址")
    private String url;

    @Schema(description = "发送人IP")
    private String ip;

    @Schema(description = "发送人地址")
    private String location;

    @Schema(description = "请求参数")
    private String param;

    @Schema(description = "结果信息")
    private String result;

    @Schema(description = "异常信息")
    private String exception;

    @Schema(description = "用户ID")
    private String userId;

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "租户ID")
    private String tenantId;

    @Schema(description = "租户名")
    private String tenantName;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "状态（false失败 true成功）")
    private Boolean status;

    @Schema(description = "创建者")
    private String createBy;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "更新时间")
    private Date updateTime;

}
